package ioc17;

import java.util.Date;

public class SomeBean {
    String name;
    Address address;
    Date date;

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "SomeBean{" +
                "name='" + name + '\'' +
                ", address=" + address +
                ", date=" + date +
                '}';
    }
}
